-
Notifications
You must be signed in to change notification settings - Fork 647
refactor and modify the bugs of examples/elf project #3224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
rearrange the elf test directory, make the sub-testcase in separate directory Signed-off-by: anjiahao <[email protected]>
delete the mod_symtab.c generate procedure Signed-off-by: anjiahao <[email protected]>
make the example elf can work with SIGNAL disabled Signed-off-by: v-tangmeng <[email protected]>
if defined CONFIG_EXAMPLES_ELF and CONFIG_EXAMPLES_MODLUE, elf will generated BINDIR, so generated symtab will interference. It supports inputting multiple specified files in mksymtab.sh to avoid interference. Signed-off-by: anjiahao <[email protected]>
19b642d to
44023f0
Compare
cederom
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @extinguish, CI build errors, please fix :-)
====================================================================================
Configuration/Tool: nucleo-h743zi/elf,CONFIG_ARM_TOOLCHAIN_CLANG
2025-11-28 10:31:47
------------------------------------------------------------------------------------
Cleaning...
Configuring...
Disabling CONFIG_ARM_TOOLCHAIN_GNU_EABI
Enabling CONFIG_ARM_TOOLCHAIN_CLANG
Building NuttX...
Error: <inline asm>:5:12: error: Could not find incbin file '../../apps/examples/elf/tests/romfs.img'
5 | .incbin "../../apps/examples/elf/tests/romfs.img"
| ^
1 error generated.
make[2]: *** [/github/workspace/sources/nuttx/boards/Board.mk:83: stm32_romfs_initialize.o] Error 1
make[2]: Target 'libboard.a' not remade because of errors.
make[1]: *** [Makefile:187: board/libboard.a] Error 2
make[1]: Target 'nuttx' not remade because of errors.
make: *** [tools/Unix.mk:552: nuttx] Error 2
make: Target 'all' not remade because of errors.
/github/workspace/sources/nuttx/tools/testbuild.sh: line 385: /github/workspace/sources/nuttx/../nuttx/nuttx.manifest: No such file or directory
[1/1] Normalize nucleo-h743zi/elf
On branch master
Your branch is up to date with 'origin/master'.
linguini1
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The testing section is insufficient.
has passed the relative tests
What are these tests and what were the results? With logs please.
Summary
this request is depends on apache/nuttx#17397
Impact
mainly affect the examples/elf project, has no impact on other modules
Testing
has passed the relative tests